package com.model;

import java.sql.Timestamp;


public class Orders {
	private String oid;//订单号
	private Integer uid;//用户id
	private Integer eid;//员工id
	private Double total;//总价
	private Timestamp submittime;//下单时间
	private Timestamp destinetime;//预约时间
	private String okind;//订单类别
	private String ostatus;//订单状态
	private String uaddress;//用户地址
	private String waddress;//站点地址
	public Orders() {
		super();
	}
	
	public Orders(String oid, Integer uid, Integer eid, Double total, Timestamp submittime, Timestamp destinetime,
			String okind, String ostatus, String uaddress, String waddress) {
		super();
		this.oid = oid;
		this.uid = uid;
		this.eid = eid;
		this.total = total;
		this.submittime = submittime;
		this.destinetime = destinetime;
		this.okind = okind;
		this.ostatus = ostatus;
		this.uaddress = uaddress;
		this.waddress = waddress;
	}

	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getEid() {
		return eid;
	}
	public void setEid(Integer eid) {
		this.eid = eid;
	}
	public Double getTotal() {
		return total;
	}
	public void setTotal(Double total) {
		this.total = total;
	}
	public Timestamp getSubmittime() {
		return submittime;
	}
	public void setSubmittime(Timestamp submittime) {
		this.submittime = submittime;
	}
	public Timestamp getDestinetime() {
		return destinetime;
	}
	public void setDestinetime(Timestamp destinetime) {
		this.destinetime = destinetime;
	}
	public String getOkind() {
		return okind;
	}
	public void setOkind(String okind) {
		this.okind = okind;
	}
	public String getOstatus() {
		return ostatus;
	}
	public void setOstatus(String ostatus) {
		this.ostatus = ostatus;
	}
	public String getUaddress() {
		return uaddress;
	}
	public void setUaddress(String uaddress) {
		this.uaddress = uaddress;
	}
	public String getWaddress() {
		return waddress;
	}
	public void setWaddress(String waddress) {
		this.waddress = waddress;
	}

	@Override
	public String toString() {
		return "Orders [oid=" + oid + ", uid=" + uid + ", eid=" + eid + ", total=" + total + ", submittime="
				+ submittime + ", destinetime=" + destinetime + ", okind=" + okind + ", ostatus=" + ostatus
				+ ", uaddress=" + uaddress + ", waddress=" + waddress + "]";
	}
	 
}
